package com.net.xpay.admin.vo;

import com.net.xpay.common.enums.user.CheckCodeType;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.time.LocalDateTime;

/**
 * 2020/5/21 14:28

 86188
 */
@Getter
@Setter
@NoArgsConstructor
public class CheckCodeVo {

    @ApiModelProperty(notes = "验证码编号")
    private Long id;

    @ApiModelProperty(notes = "手机号")
    private String mobile;

    @ApiModelProperty(notes = "验证码类型")
    private CheckCodeType type;

    @ApiModelProperty(notes = "关联id")
    private Long relatedId;

    @ApiModelProperty(notes = "验证码")
    private String code;

    @ApiModelProperty(notes = "过期时间")
    private LocalDateTime expiredTime;

    @ApiModelProperty(notes = "发送时间")
    private LocalDateTime sendTime;

    @ApiModelProperty(notes = "出错的次数")
    private Long errorCnt;

    @ApiModelProperty(notes = "系统ip")
    private String ip;

    @ApiModelProperty(notes = "创建时间")
    private LocalDateTime createTime;

}
